'use strict';
/**
 * role-access model
 */

 module.exports = app => {
    const {STRING,TINYINT,INTEGER} = app.Sequelize;
    const RoleAccess = app.model.define('role_access',{
      id: {type:INTEGER,primaryKey:true,autoIncrement:true},
      role_id: {type:INTEGER},
      access_id: {type:STRING},
      status: {type:TINYINT},
      created_person: {type: STRING},
      updated_person: {type: STRING}
    });

    return RoleAccess;
 }
